<?php $this->load->helper('tgl_indonesia'); ?>
<div class="col-md-10" id="content">
  <div class="panel">
   <div class="panel-heading" style="background-color:#009CC2;color:#fff;">Agenda</div>   
      <div class="panel-body">
     
       <?php foreach($agenda as $s): ?>
        <hr>
        <div class="row">
            <h2><a href="<?php echo base_url();?>web/detailagenda/<?php echo $s['id_agenda'];?>/<?php echo $s['judul_seo'];?>" class="titleContent"><?php echo $s['tema'];?></a></h2>
            <p style="padding-left: 15px;"><small><?php echo  tgl_indo($s['tgl_posting']);?></small></p>
            <div class="col-md-8">
                <?php echo substr($s['isi_agenda'],0,200);?>...
                <br><br>
                <table class="table">
                  <tr>
	                    <td><strong>Tanggal Mulai</strong></td>  
	                    <td><?php echo  tgl_indo($s['tgl_mulai']);?></td>  
                  </tr>
                  <tr>
	                    <td><strong>Tanggal Selesai</strong></td>  
	                    <td><?php echo  tgl_indo($s['tgl_selesai']);?></td>  
                  </tr>
                </table>
                <br><br>
                <a href="<?php echo base_url();?>web/detailagenda/<?php echo $s['id_agenda'];?>/<?php echo $s['judul_seo'];?>"><button class="btn btn-default">More</button> </a>
            </div>
            <div class="col-md-4">
                <a href="<?php echo base_url();?>web/detailagenda/<?php echo $s['id_agenda'];?>/<?php echo $s['judul_seo'];?>">
                  <img class="img-responsive" src="<?php echo base_url();?>image/gambar_event/<?php echo $s['gambar'];?>" alt="AMCC">   
                </a>
            </div>
        </div>
        <?php endforeach; ?>
  </div>
 </div>
 <nav>
    <ul class="pager">
      <?php echo $pagination;?>
    </ul>
  </nav>
</div>
